﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IUI;

namespace BL
{
   public class MainPageController : BaseController<IMainPage>
   {

      public MainPageController(IMainPage page) : base(page) { }

      
      public override void InitPageEvents()
      {
         _page.ClickButton += ButtonClick;
      }

      private void ButtonClick(object sender, EventArgs e)
      {
         _page.Date = DateTime.Now;
      }
   }
}
